package com.mszlu.blog.dao.pojo;

import java.io.Serializable;


public class Tag implements Serializable {

    private Long id;
    private String tagName;
    private String avatar;
    private String description;

    public Tag() {
    }

    public Tag(Long id, String tagName, String avatar, String description) {
        this.id = id;
        this.tagName = tagName;
        this.avatar = avatar;
        this.description = description;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getTagName() {
        return tagName;
    }

    public void setTagName(String tagName) {
        this.tagName = tagName;
    }

    public String getAvatar() {
        return avatar;
    }

    public void setAvatar(String avatar) {
        this.avatar = avatar;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    @Override
    public String toString() {
        return "Tag{" +
                "id=" + id +
                ", tagName='" + tagName + '\'' +
                ", avatar='" + avatar + '\'' +
                ", description='" + description + '\'' +
                '}';
    }
}